package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "更新用户收货地址 DTO")
public class UpdateAddressDTO extends AddAddressDTO {
    @NotNull
    @Schema(description = "地址 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;
}
